package com.iking.housekeeping.dao.dictcontent;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.iking.housekeeping.entity.dictcontent.DictContent;
import com.iking.housekeeping.httpbean.view.ChangeServiceBean;
import com.iking.housekeeping.httpbean.view.ChargeTypeBean;
import com.iking.housekeeping.httpbean.view.GenderBean;
import com.iking.housekeeping.httpbean.view.IsChangeServiceBean;
import com.iking.housekeeping.httpbean.view.RegionalTypeBean;
import com.iking.housekeeping.httpbean.view.ServiceStateBean;
/**
 * 
 * @author Administrator
 *
 */
@Mapper
public interface DictContentMapper {
	
	/**
	 * 根据id删除字典信息
	 * @param fId
	 * @return
	 */
    int deleteByPrimaryKey(String fId);
    
    /**
     * 添加字典信息
     * @param record
     * @return
     */
    int insert(DictContent record);
    
    /**
     * 添加字典信息
     * @param record
     * @return
     */
    int insertSelective(DictContent record);
    
    /**
     * 根据id查看字典信息
     * @param fId
     * @return
     */
    DictContent selectByPrimaryKey(String fId);
    
    /**
     * 根据id更新信息系
     * @param record
     * @return
     */
    int updateByPrimaryKeySelective(DictContent record);
    
    /**
     * 根据id更新信息系
     * @param record
     * @return
     */
    int updateByPrimaryKey(DictContent record);
    
    /**
     * 查询
     * @return
     */
	List<IsChangeServiceBean> selectIsChangeServiceBean();
	
	/**
	 * 查询
	 * @return
	 */
	List<ChangeServiceBean> selectChangeServiceBean();
	
	/**
	 * 查询
	 * @return
	 */
	List<ChargeTypeBean> selectchargetypeBean();
	
	/**
	 * 查询
	 * @return
	 */
	List<GenderBean> selectGenderBeanBean();
	
	/**
	 * 查询
	 * @return
	 */
	List<RegionalTypeBean> selectRegionalTypeBeanBean();
	
	/**
	 * 查询
	 * @return
	 */
	List<ServiceStateBean> selectServiceStateBeanBean();
}